home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / scl120.arc / SCL1KEYS.H < prev    next >
Text File  |  1990-09-07  |  3KB  |  128 lines

  1. /*******************************************************************************
  2. *   SCL1KEYS.H - Keyboard SCAN/ASCII code define constant, for SCL1 library.   *
  3. *                                                                              *
  4. *          Copyright (C) 1990 by José Rodríguez Alvira & José R. Lebrón        *
  5. *******************************************************************************/
  6.  
  7. #define ESC 0x011b
  8. #define ENTER 0x1c0d
  9. #define SPACE 0x3920
  10. #define INS 0x5200
  11. #define DEL 0x5300
  12. #define BACK 0x0E08
  13. #define TAB 0x0F09
  14. #define SHIFTTAB 0x0f00
  15.  
  16. #define F1 0x3b00
  17. #define F2 0x3c00
  18. #define F3 0x3d00
  19. #define F4 0x3e00
  20. #define F5 0x3f00
  21. #define F6 0x4000
  22. #define F7 0x4100
  23. #define F8 0x4200
  24. #define F9 0x4300
  25. #define F10 0x4400
  26.  
  27. #define ALTF1 0x6800
  28. #define ALTF2 0x6900
  29. #define ALTF3 0x6A00
  30. #define ALTF4 0x6B00
  31. #define ALTF5 0x6C00
  32. #define ALTF6 0x6D00
  33. #define ALTF7 0x6E00
  34. #define ALTF8 0x6F00
  35. #define ALTF9 0x7000
  36. #define ALTF10 0x7100
  37.  
  38. #define CTRLF1 0x5E00
  39. #define CTRLF2 0x5F00
  40. #define CTRLF3 0x6000
  41. #define CTRLF4 0x6100
  42. #define CTRLF5 0x6200
  43. #define CTRLF6 0x6300
  44. #define CTRLF7 0x6400
  45. #define CTRLF8 0x6500
  46. #define CTRLF9 0x6600
  47. #define CTRLF10 0x6700
  48.  
  49. #define SHIFTF1 0x5400
  50. #define SHIFTF2 0x5500
  51. #define SHIFTF3 0x5600
  52. #define SHIFTF4 0x5700
  53. #define SHIFTF5 0x5800
  54. #define SHIFTF6 0x5900
  55. #define SHIFTF7 0x5A00
  56. #define SHIFTF8 0x5B00
  57. #define SHIFTF9 0x5C00
  58. #define SHIFTF10 0x5D00
  59.  
  60. #define UP 0x4800
  61. #define DOWN 0x5000
  62. #define RIGHT 0x4d00
  63. #define LEFT 0x4b00
  64. #define HOME 0x4700
  65. #define END 0x4F00
  66. #define PgUp 0x4900
  67. #define PgDn 0x5100
  68. #define CTRLRIGHT 0x7400
  69. #define CTRLLEFT 0x7300
  70.  
  71. #define ALTA  0x1e00
  72. #define ALTB  0x3000
  73. #define ALTC  0x2e00
  74. #define ALTD  0x2000
  75. #define ALTE  0x1200
  76. #define ALTF  0x2100
  77. #define ALTG  0x2200
  78. #define ALTH  0x2300
  79. #define ALTI  0x1700
  80. #define ALTJ  0x2400
  81. #define ALTK  0x2500
  82. #define ALTL  0x2600
  83. #define ALTM  0x3200
  84. #define ALTN  0x3100
  85. #define ALTO  0x1800
  86. #define ALTP  0x1900
  87. #define ALTQ  0x1000
  88. #define ALTR  0x1300
  89. #define ALTS  0x1f00
  90. #define ALTT  0x1400
  91. #define ALTU  0x1600
  92. #define ALTV  0x2f00
  93. #define ALTW  0x1100
  94. #define ALTX  0x2d00
  95. #define ALTY  0x1500
  96. #define ALTZ  0x2c00
  97.  
  98. #define CTRLA  0x1e01
  99. #define CTRLB  0x3002
  100. #define CTRLC  0x2e03
  101. #define CTRLD  0x2004
  102. #define CTRLE  0x1205
  103. #define CTRLF  0x2106
  104. #define CTRLG  0x2207
  105. #define CTRLH  0x2308
  106. #define CTRLI  0x1709
  107. #define CTRLJ  0x240a
  108. #define CTRLK  0x250b
  109. #define CTRLL  0x260c
  110. #define CTRLM  0x320d
  111. #define CTRLN  0x310e
  112. #define CTRLO  0x180f
  113. #define CTRLP  0x1910
  114. #define CTRLQ  0x1011
  115. #define CTRLR  0x1312
  116. #define CTRLS  0x1f13
  117. #define CTRLT  0x1414
  118. #define CTRLU  0x1615
  119. #define CTRLV  0x2f16
  120. #define CTRLW  0x1117
  121. #define CTRLX  0x2d18
  122. #define CTRLY  0x1519
  123. #define CTRLZ  0x2c1a
  124.  
  125.  
  126.  
  127.  
  128.